See all tags.

Tagged “fake timers”

Unit Testing Beginners Guide - Part 2 - Spying and fake timers

This articles continues the unit testing for beginners series by diving into some of the more advanced concepts when testing functions. You will learn what mocking and stubbing is, how to test functions involving timers and network calls